<?php
// $this->addValidator('required', 'System_Validate_Required');
// $this->getValidator('required')->isValid($username)
class System_Validate_Required
{

    public function isValid ($str)
    {
        return ($str !== null && $str !== "");
    }
}
